<?php
if(isset($in_site) && $in_site == 'dassnfu') {
	//Start de sessie
	ini_set("session.cookie_domain", ".mijnhonkbal.nl");
	session_start();

	//Style nummer
	$style_nmr = '';
	if(isset($_SESSION['style']) && $_SESSION['style'] > 0) { $style_nmr = $_SESSION['style'];}

	//SpelerId
	$spelerId = 0;
	if(isset($_SESSION['spelerId'])) { $spelerId = $_SESSION['spelerId'];}
	
	//Rechten
	$i_rechten = 0;
	$rechten = array();
	$rechten['wedstrijd_beheren'] = $i_rechten++;	//1
	$rechten['trainingen_beheren'] = $i_rechten++;	//2
	$rechten['activiteiten_beheren'] = $i_rechten++;//3
	$rechten['afmeldingen_bekijken'] = $i_rechten++;//4
	$rechten['afmeldingen_wedstrijden_beheren'] = $i_rechten++;//5
	$rechten['afmeldingen_trainingen_beheren'] = $i_rechten++;//6
	$rechten['afmeldingen_activiteiten_beheren'] = $i_rechten++;//7
	$rechten['scheidsrechters_beheren'] = $i_rechten++;//8
	$rechten['kantinedienst_beheren'] = $i_rechten++;//9
	
	$rechten['statistieken_teamleden_bekijken'] = $i_rechten++;//10
	$rechten['niet_zichtbare_statistieken_bekijken'] = $i_rechten++;//11
	$rechten['statistieken_beheren'] = $i_rechten++;//12
	$rechten['niet_zichtbare_line_up_bekijken'] = $i_rechten++;//13
	$rechten['line_up_beheren'] = $i_rechten++;//14
	
	$rechten['wissels_bekijken'] = $i_rechten++;//15
	$rechten['wissels_beheren'] = $i_rechten++;//16
	
	$rechten['berichten_toevoegen'] = $i_rechten++;//17
	$rechten['anderemans_berichten_beheren'] = $i_rechten++;//18
	$rechten['verborgen_berichten_toevoegen'] = $i_rechten++;//19
	$rechten['forummmoderator'] = $i_rechten++;//20
	$rechten['verborgen_forum_bekijken'] = $i_rechten++;//21
	
	$rechten['afmeldingen_wedstrijden_ontvangen'] = $i_rechten++;//19
	$rechten['afmeldingen_trainingen_ontvangen'] = $i_rechten++;//20
	$rechten['afmeldingen_activiteiten_ontvangen'] = $i_rechten++;//21
	
	$rechten['spelers_beheren'] = $i_rechten++;//22
	
	$rechten['teaminstellingen_bekijken'] = $i_rechten++;//22
	$rechten['teaminstellingen_wijzigen'] = $i_rechten++;//23
	$rechten['rechten_bekijken'] = $i_rechten++;//24
	$rechten['rechten_wijzigen'] = $i_rechten++;//25
}else {
	die();
}
?>